//Source file: D:\\test\\com\\ce\\pms\\charge\\model\\FlowDefDomain.java

package com.ce.pms.charge.model;

import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ce.pms.common.model.SysInfo;
import com.sitechasia.webx.core.model.IDomainObject;

/**
 * 实体名称:流程定义 关联数据表:FEE_FLOW_DEF
 */
@Entity
@Table(name = "FEE_FLOW_DEF")
public class FlowDefDomain implements IDomainObject{

	/**
	 * 关键字
	 */
	@Id
	@GeneratedValue
	@Column(name = "FLOW_DEF_ID")
	private Long keyword;

	/**
	 * 流程名称
	 */
	@Column(name = "NAME", nullable = false, length = 30)
	private String name;

	/**
	 * 是否强制
	 */
	@Column(name = "CONSTRAINT_SELECT", nullable = false,length=1)
	private String constraitSelect;

	/**
	 * 序号
	 */
	@Column(name = "SEQ_NO", nullable = false)
	private Short seqNo;

	@Embedded
	private SysInfo sysInfo;

	/**
	 * @roseuid 48757D1303A9
	 */
	public FlowDefDomain() {

	}
	/**
	 *
	 * @param name            流程名称
	 * @param constraitSelect 是否强制
	 * @param seqNo           序号
	 * @param sysInfo         系统信息
	 */
	public FlowDefDomain(String name, String constraitSelect, Short seqNo, SysInfo sysInfo) {
		super();
		this.name = name;
		this.constraitSelect = constraitSelect;
		this.seqNo = seqNo;
		this.sysInfo = sysInfo;
	}
	public String getConstraitSelect() {
		return constraitSelect;
	}
	public void setConstraitSelect(String constraitSelect) {
		this.constraitSelect = constraitSelect;
	}
	public Long getKeyword() {
		return keyword;
	}
	public void setKeyword(Long keyword) {
		this.keyword = keyword;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Short getSeqNo() {
		return seqNo;
	}
	public void setSeqNo(Short seqNo) {
		this.seqNo = seqNo;
	}
	public SysInfo getSysInfo() {
		return sysInfo;
	}
	public void setSysInfo(SysInfo sysInfo) {
		this.sysInfo = sysInfo;
	}

}
